total = 0
number = 1

while number <= 100:
    total += number
    number += 1

print(f"从1加到100的结果是: {total}")